
AM_CFLAGS = @ADD_CFLAGS@
AM_YFLAGS = -p asn1p_ -d 
AM_LFLAGS = -s -p -Cem -Pasn1p_ -olex.yy.c

noinst_LTLIBRARIES = libasn1parser.la

BUILT_SOURCES = asn1p_y.h

libasn1parser_la_SOURCES =		\
	asn1parser.c asn1parser.h	\
	asn1p_y.y \
	asn1p_l.l \
	asn1p_module.c asn1p_module.h	\
	asn1p_oid.c asn1p_oid.h		\
	asn1p_value.c asn1p_value.h	\
	asn1p_expr.c asn1p_expr.h	\
	asn1p_expr_str.h		\
	asn1p_expr2uclass.h		\
	asn1p_xports.c asn1p_xports.h	\
	asn1p_constr.c asn1p_constr.h	\
	asn1p_param.c asn1p_param.h	\
	asn1p_class.c asn1p_class.h	\
	asn1p_ref.c asn1p_ref.h		\
	asn1p_list.h

asn1parser.h: asn1p_expr_str.h

asn1p_expr_str.h: expr-h.pl asn1p_expr.h
	./expr-h.pl asn1p_expr.h > $@

EXTRA_DIST = expr-h.pl
